package com.VolunteerPlatform.Service.VolunteerService;

import com.VolunteerPlatform.Entity.VolunteerInfo;
import org.apache.ibatis.annotations.Param;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * Created by DoveXL on 2018/12/6.
 */
public interface VolunteerInfoService {


    public List<VolunteerInfo> getVolunteerInfoService( String IDCardNumber, String Name, String Gender, String Unit, String Phonenum,int Deleted, int Page, int PageList);

    public int deleteVolunteerInfoService(String OriginIDCardNumber,String Name,String Unit,String Phonenum,int Deleted);


    public int updateVolunteerInfoService(String OriginIDCardNumber,String IDCardNumber,String NewName,String Name,String Unit,String Phonenum,int Deleted);

    public int insertVolunteerInfoService(String IDCardNumber,String Name,String Gender,String Birthday,String Unit,String Phonenum,int Deleted);

    public List<VolunteerInfo> findByIDCardNumberService( String IDCardNumber);

    public int ExportPersonInfoService(String Name,String IDCardNumber,String Unit,String Gender,String title,String[] rowName,List<String> checkFieldNameList,String filename) throws IOException;


    public Map<String,Integer> VolunteerAgeStatistics(String IDCardNumber, String Name, String Gender, String Unit, String Phonenum,int Deleted, int Page, int PageList);


    public String VolunteerTeamNumberStatistics(String IDCardNumber, String Name, String Gender, String Unit, String Phonenum,int Deleted, int Page, int PageList);


}
